package com.mohan.dlxj.mapper;

import com.mohan.dlxj.pojo.Circuit;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CircuitMapper {
  List<Circuit> selectCircuitPage(long current, long limit);

  Integer selectCircuitAll();

  Circuit getCircuitById(long id);

  void updateCircuit(Circuit circuit);

  void deleteCircuit(Integer id);

  void saveCircuit(Circuit circuit);

  void updateStartusing(Circuit circuit);
}
